<HTML>
<HEAD>
<meta charset="UTF-8">
<title>SourceParams.createSourceFromTokenParams - stripe</title>
<link rel="stylesheet" href="../../../style.css">
</HEAD>
<BODY>
<a href="../../index.html">stripe</a>&nbsp;/&nbsp;<a href="../index.html">com.stripe.android.model</a>&nbsp;/&nbsp;<a href="index.html">SourceParams</a>&nbsp;/&nbsp;<a href="./create-source-from-token-params.html">createSourceFromTokenParams</a><br/>
<br/>
<h1>createSourceFromTokenParams</h1>
<a name="com.stripe.android.model.SourceParams.Companion$createSourceFromTokenParams(kotlin.String)"></a>
<code><span class="identifier">@JvmStatic</span> <span class="keyword">fun </span><span class="identifier">createSourceFromTokenParams</span><span class="symbol">(</span><span class="identifier" id="com.stripe.android.model.SourceParams.Companion$createSourceFromTokenParams(kotlin.String)/tokenId">tokenId</span><span class="symbol">:</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">)</span><span class="symbol">: </span><a href="index.html"><span class="identifier">SourceParams</span></a></code>
<p>Create parameters necessary for converting a token into a source</p>
<h3>Parameters</h3>
<p><a name="tokenId"></a>
<code>tokenId</code> - the id of the <a href="../-token/index.html">Token</a> to be converted into a source.</p>
<p><strong>Return</strong><br/>
a <a href="index.html">SourceParams</a> object that can be used to create a source.</p>
</BODY>
</HTML>
